Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LogMessageCollection Class / CalculateValues Method / CalculateValues(MetricSampleInterval,Int32,Nullable<DateTimeOffset>,Nullable<DateTimeOffset>) Method
The requested data sample size
The number of intervals to have between each value exactly.
The earliest date to retrieve data for
The last date to retrieve data for

In This Topic
    CalculateValues(MetricSampleInterval,Int32,Nullable<DateTimeOffset>,Nullable<DateTimeOffset>) Method
    In This Topic
    Calculate the number of messages per interval present in the specified time range.
    Syntax
    'Declaration
     
    
    Public Overloads Function CalculateValues( _
       ByVal interval As MetricSampleInterval, _
       ByVal intervals As Integer, _
       ByVal startDateTime As Nullable(Of DateTimeOffset), _
       ByVal endDateTime As Nullable(Of DateTimeOffset) _
    ) As MetricValueCollection

    Parameters

    interval
    The requested data sample size
    intervals
    The number of intervals to have between each value exactly.
    startDateTime
    The earliest date to retrieve data for
    endDateTime
    The last date to retrieve data for

    Return Value

    A metric value set suitable for display
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also